<%@ page language="java"  contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<c:set var="path" value="${pageContext.request.scheme}${'://'}${pageContext.request.serverName}${':'}${pageContext.request.serverPort}${pageContext.request.contextPath}"/>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="like">
<input type="button" value="添加"/><br>
请输入菜的名称:<input type="search" name="pname">
</form>
<div style="float: left;width:90%" id="cai">
<c:forEach items="${clList}" var="cai">


		<div style="width: 400px; height: 500px;float: left;border: dashed" >
			<img  src="img/${cai.pdz }" width="400px" height="250px" align="center"/>	
			<h2 align="center">菜名:${cai.pname }</h2>
			<h3 align="center">类型:${cai.ftype }</h3>
			<h3 align="center">价格:${cai.pprice }元</h3>
			<h3 align="center"><button><a href="xg/${cai.pid }">修改</a></button></h3>


		</div>
		</c:forEach>
		</div>
</body>
</html>
